<?php
abstract class AAnswerType{
    protected $context;
    protected $form_manager;
    protected $current_controller;
    protected $view;
    public function __construct($context) {
       $this->context = $context;
       $this->current_controller = $context->getCurrentController();
       $this->form_manager = $this->current_controller->getFormManager();
       $this->view = $this->current_controller->getView();
    }
    public function setContext($context) {
        $this->context = $context;
    }
    abstract function getFormHTML();
    abstract function getName();
}
?>
